\hypertarget{class_mathematica_translator_1_1_m_t_block}{
\section{\-Mathematica\-Translator\-:\-:\-M\-T\-Block \-Class \-Reference}
\label{class_mathematica_translator_1_1_m_t_block}\index{\-Mathematica\-Translator\-::\-M\-T\-Block@{\-Mathematica\-Translator\-::\-M\-T\-Block}}
}


{\ttfamily \#include $<$\-M\-T\-Block.\-hpp$>$}

\-Inheritance diagram for \-Mathematica\-Translator\-:\-:\-M\-T\-Block\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_mathematica_translator_1_1_m_t_block}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_block_a3678bcdca886e1a5d7299169f438e0e1}{generate\-Code} (\hyperlink{class_mathematica_translator_1_1_code_gen_context}{\-Code\-Gen\-Context} \&context)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_block_a99b2c5c07a965cc0f830d984128b2da0}{
\-Statement\-List {\bfseries statements}}
\label{class_mathematica_translator_1_1_m_t_block_a99b2c5c07a965cc0f830d984128b2da0}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Class behaving as container. \-Is responsible for holding every statement in block and invoking its translation 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_m_t_block_a3678bcdca886e1a5d7299169f438e0e1}{
\index{\-Mathematica\-Translator\-::\-M\-T\-Block@{\-Mathematica\-Translator\-::\-M\-T\-Block}!generate\-Code@{generate\-Code}}
\index{generate\-Code@{generate\-Code}!MathematicaTranslator::MTBlock@{\-Mathematica\-Translator\-::\-M\-T\-Block}}
\subsubsection[{generate\-Code}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-Block\-::generate\-Code (
\begin{DoxyParamCaption}
\item[{{\bf \-Code\-Gen\-Context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_block_a3678bcdca886e1a5d7299169f438e0e1}
\-Main method to print the result of translating into \-C++ from \-Mathematica 
\begin{DoxyParams}{\-Parameters}
{\em context} & current variable context \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
allocated string with translation 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_node_a9f0dd733cc13b360641b310e8b8be9a9}{\-Mathematica\-Translator\-::\-M\-T\-Node}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-M\-T\-Block.\-hpp\item 
\-M\-T\-Block.\-cpp\end{DoxyCompactItemize}
